package com.xuxin.pda.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.xuxin.pda.R;

import org.jetbrains.annotations.NotNull;

/**
 * Created by xu_xin
 * Created on 2020.08.07 0007
 */
public class TrashLinkAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public TrashLinkAdapter() {
        super(R.layout.item_trash_link);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, String item) {
        holder.setText(R.id.item_trash_link_name, item.substring(3));
    }
}